<template>
  <div class="list" >
  <div class="box" v-for="item in houserList" :key="item.houseCode">
  <div class="left">
      <img :src="item.houseImg" alt="">
    </div>
    <div class="right">
      <h3>{{item.title}}</h3>
      <p>{{item.desc}}</p>
      <div class="di">
        <span>{{item.tags[0]}}</span>
      </div>
      <span class="money">
        <span class="yue">{{item.price}}</span>
        元/月
        </span>
    </div>
  </div>
  </div>
</template>

<script>
export default {
  name: 'HouseList',
  props: {
    houserList: {
      type: Object
    }
  },
  created () {
  },
  methods: {
  }
}
</script>

<style lang="less" scoped>
.list {
  background-color: #fff;
   top: 90px;
   width: 100%;
   padding-bottom: 35px;
   .box{
   border-bottom: 1px solid #e5e5e5;
   padding-bottom: 15px;
   padding-top: 18px;

   }
   .left{
  float: left;
  width: 106px;
  height: 80px;
  margin-right: 15px;
  img {
 width: 106px;
  height: 80px;
  margin-left: 10px;
  margin-right: 15px;
}
   }
   .right{
    overflow: hidden;
    // line-height: 22px;
    padding-left: 12px;
    h3{
    margin: 0;
    font-size: 15px;
    color: #394043;
    }
    p{
    font-size: 12px;
    color: #afb2b3;
    margin: 0 auto;
    }
    .di{
      margin: 5px auto;
   span {
    color: #39becd;
    background: #e1f5f8;
    padding: 5px;
   }
    }
    .money{
    font-size: 12px;
    color: #fa5741;

    .yue{
    font-size: 16px;
    font-weight: bolder;
    }
    }
   }
}

</style>
